﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CoursePreference.aspx.cs" Inherits="CourseScheduling.CoursePreference" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:Label ID="lblProfPrefId" runat="server" Text="" Visible="False"></asp:Label>
    <table>
        <tr>
            <td>
                Term
            </td>
            <td>
                <asp:DropDownList ID="ddlTerm" runat="server">
                    <asp:ListItem>Spring</asp:ListItem>
                    <asp:ListItem>Fall</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                Course Release Expected
            </td>
            <td>
                <asp:DropDownList ID="ddlCourseRelease" runat="server">
                    <asp:ListItem Value="1">Yes</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">No</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Year
            </td>
            <td>
                <asp:DropDownList ID="ddlYear" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                Sabbatical Expected
            </td>
            <td>
                <asp:DropDownList ID="ddlSabbatical" runat="server">
                    <asp:ListItem Value="1">Yes</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">No</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                No. of Courses
            </td>
            <td>
                <asp:DropDownList ID="ddlCourseNum" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                Prof. Dev. Leave Expected
            </td>
            <td>
                <asp:DropDownList ID="ddlLeave" runat="server">
                    <asp:ListItem Value="1">Yes</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">No</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <p>
        Scheduling Factors Importance Rank Order (1-3)</p>
    <table>
        <tr>
            <td>
                Course Preference
            </td>
            <td>
                <asp:DropDownList ID="ddlCoursePreference" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Days of the Week
            </td>
            <td>
                <asp:DropDownList ID="ddlDaysOfWeek" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Time of Day
            </td>
            <td>
                <asp:DropDownList ID="ddlTimeOfDay" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <br />
    <asp:Table ID="tblPreferences" runat="server" BorderStyle="Double" GridLines="Both"
        Width="100%">
        <asp:TableRow Font-Bold="true" HorizontalAlign="Center" runat="server">
            <asp:TableCell runat="server" Width="15%">Rank Order</asp:TableCell>
            <asp:TableCell runat="server" Width="15%">Course Number</asp:TableCell>
            <asp:TableCell runat="server">Course Name</asp:TableCell>
            <asp:TableCell runat="server" Width="15%">Action</asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <br />
    <br />
    <table border="1">
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            Course
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCourses" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="btnAdd" runat="server" Text="Add" onclick="btnAdd_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <br />
    <table>
        <tr align="center">
            <td colspan="2">
                <b>Days of the Week</b>
            </td>
            <td colspan="2">
                <b>Time of Day</b>
            </td>
        </tr>
        <tr>
            <td>
                MWF
            </td>
            <td>
                <asp:DropDownList ID="ddlMWF" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                Morning
            </td>
            <td>
                <asp:DropDownList ID="ddlMorning" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                MW
            </td>
            <td>
                <asp:DropDownList ID="ddlMW" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                Afternoon
            </td>
            <td>
                <asp:DropDownList ID="ddlAfternoon" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                TR
            </td>
            <td>
                <asp:DropDownList ID="ddlTR" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                Evening
            </td>
            <td>
                <asp:DropDownList ID="ddlEvening" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <br />
    <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
        onclick="btnSubmit_Click" />
</asp:Content>
